package com.pkk.spring.cloud.service.rpc.request;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 请求头部信息
 *
 * @author peikunkun
 * @version V1.0
 * @date 2021-01-06 14:10
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RequestHeader implements Serializable {

  private static final long serialVersionUID = 88076197274859343L;


  /**
   * 请求唯一ID,避免重复提交
   */
  private String id;


  /**
   * 全局调用链id
   */
  private String chainId;


  /**
   * 请求来源
   */
  private int source;

  /**
   * 请求服务APP_ID
   */
  private String appId;

  /**
   * 请求参数签名-用于验签
   */
  private String sign;

}
